package com.ruoyi.core.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 【请填写功能名称】对象 wes_item
 * 
 * @author ruoyi
 * @date 2024-01-01
 */
public class WesItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long itemId;

    /** 是否删除 */
    //@Excel(name = "是否删除")
    private String beDelete;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creatorBy;

    /** 包装单位id */
    //@Excel(name = "包装单位id")
    private Long basePackId;

    /** 货品编码 */
    @Excel(name = "货品编码")
    private String code;

    /** 货品名称 */
    @Excel(name = "货品名称")
    private String name;

    /** 状态 */
   // @Excel(name = "状态")
    private String status;

    /** 是否限高 */
    @Excel(name = "是否限高")
    private Integer beLimitHeight;

    /** 是否翻包 */
    @Excel(name = "是否翻包")
    private Integer beScmTurn;

    /** 容器类型 */
    @Excel(name = "容器类型")
    private String mtType;

    /** 属性（区分是器具还是货品） */
   // @Excel(name = "属性", readConverterExp = "区=分是器具还是货品")
    private String attribute;

    /** 分类 */
    @Excel(name = "分类")
    private String classAbc;

    /** 供应商编码 */
    @Excel(name = "供应商编码")
    private String scpCode;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String scpName;

    /** 保管员 */
    //@Excel(name = "保管员")
    private String userName;

    /** 拣货员 */
   // @Excel(name = "拣货员")
    private Long pickingPersonnelId;

    /** 计划价格 */
    //@Excel(name = "计划价格")
    private Long price;

    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setBeDelete(String beDelete) 
    {
        this.beDelete = beDelete;
    }

    public String getBeDelete() 
    {
        return beDelete;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setCreatorBy(String creatorBy) 
    {
        this.creatorBy = creatorBy;
    }

    public String getCreatorBy() 
    {
        return creatorBy;
    }
    public void setBasePackId(Long basePackId) 
    {
        this.basePackId = basePackId;
    }

    public Long getBasePackId() 
    {
        return basePackId;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setBeLimitHeight(Integer beLimitHeight) 
    {
        this.beLimitHeight = beLimitHeight;
    }

    public Integer getBeLimitHeight() 
    {
        return beLimitHeight;
    }
    public void setBeScmTurn(Integer beScmTurn) 
    {
        this.beScmTurn = beScmTurn;
    }

    public Integer getBeScmTurn() 
    {
        return beScmTurn;
    }
    public void setMtType(String mtType) 
    {
        this.mtType = mtType;
    }

    public String getMtType() 
    {
        return mtType;
    }
    public void setAttribute(String attribute) 
    {
        this.attribute = attribute;
    }

    public String getAttribute() 
    {
        return attribute;
    }
    public void setClassAbc(String classAbc) 
    {
        this.classAbc = classAbc;
    }

    public String getClassAbc() 
    {
        return classAbc;
    }
    public void setScpCode(String scpCode) 
    {
        this.scpCode = scpCode;
    }

    public String getScpCode() 
    {
        return scpCode;
    }
    public void setScpName(String scpName) 
    {
        this.scpName = scpName;
    }

    public String getScpName() 
    {
        return scpName;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setPickingPersonnelId(Long pickingPersonnelId) 
    {
        this.pickingPersonnelId = pickingPersonnelId;
    }

    public Long getPickingPersonnelId() 
    {
        return pickingPersonnelId;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("itemId", getItemId())
            .append("beDelete", getBeDelete())
            .append("createdTime", getCreatedTime())
            .append("creatorBy", getCreatorBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("basePackId", getBasePackId())
            .append("code", getCode())
            .append("name", getName())
            .append("status", getStatus())
            .append("beLimitHeight", getBeLimitHeight())
            .append("beScmTurn", getBeScmTurn())
            .append("mtType", getMtType())
            .append("attribute", getAttribute())
            .append("classAbc", getClassAbc())
            .append("scpCode", getScpCode())
            .append("scpName", getScpName())
            .append("userName", getUserName())
            .append("pickingPersonnelId", getPickingPersonnelId())
            .append("price", getPrice())
            .toString();
    }
}
